package com.teamwork_backend.entity;

import java.time.LocalDate;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author windy
 * @since 2021-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Awards implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 奖项/证书唯一标示	
     */
    @TableId(value = "awardid", type = IdType.ID_WORKER_STR)
    private String awardid;

    /**
     * 简历唯一标示（外键）	
     */
    private String resumeid;

    /**
     * 获得时间	
     */
    @TableField("`time`")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM")
    private Date time;

    /**
     * 奖项/证书内容	
     */
    private String content;

    /**
     * 颁发单位	
     */
    private String unitname;

    /**
     * 顺序权重从小到大	
     */
    @TableField("`order`")
    private Integer order;


}
